$OpenBSD: patch-reportlab_rl_accel__rl_accel_c,v 1.1 2007/11/05 09:44:19 ajacoutot Exp $
--- reportlab/rl_accel/_rl_accel.c.orig	Fri Nov  2 09:53:55 2007
+++ reportlab/rl_accel/_rl_accel.c	Fri Nov  2 09:57:50 2007
@@ -655,9 +655,9 @@ static PyObject *ttfonts_calcChecksum(PyObject *self, 
 {
 	unsigned char	*data;
 	int				dataLen;
-	unsigned long	Sum = 0L;
+	int		Sum = 0L;
 	unsigned char	*EndPtr;
-	unsigned long n;
+	int n;
 	int leftover;
 
 
@@ -689,9 +689,9 @@ static PyObject *ttfonts_calcChecksumL(PyObject *self,
 {
 	unsigned char	*data;
 	int				dataLen;
-	unsigned long	Sum = 0L;
+	int		Sum = 0L;
 	unsigned char	*EndPtr;
-	unsigned long n;
+	int n;
 	int leftover;
 
 
@@ -721,7 +721,7 @@ static PyObject *ttfonts_calcChecksumL(PyObject *self,
 
 static PyObject *ttfonts_add32(PyObject *self, PyObject* args)
 {
-	unsigned long x, y;
+	int x, y;
 #if PY_VERSION_HEX>=0x02030000
 	PyObject	*ox, *oy;
 	if(!PyArg_ParseTuple(args, "OO:add32", &ox, &oy)) return NULL;
